const Koa = require('koa');
const InitManager = require('./core/init');
const exception = require('./middlewares/exception');
const bodyParser = require('koa-bodyparser');
const app = new Koa();

app.use(exception);

app.use(bodyParser());

InitManager.initCore(app);

app.listen(3000,()=>{
    console.log('node server is run at 3000...');
})